{include file="public/header-static"/}
{include file="public/sidebar"/}
<div id="main">
    {include file="public/header"/}
    <main class="main-content">
        <div class="container">
            <div class="page-header">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item">
                            <a href="#">首页</a>
                        </li>
                        <li class="breadcrumb-item active" aria-current="page">招聘发布</li>
                    </ol>
                </nav>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="card">
                        <div class="card-body">
                            <form action='{:url("/recruit/recruitAdd")}' method="post" target="iframe_form"
                                  enctype="multipart/form-data">

                                <div class="form-group row">
                                    <label for="" class="col-sm-1 col-form-label">企业名称</label>
                                    <div class="col-sm-8">
                                        <select name="eid" id="eid" class="form-control">
                                            <option value="">请选择企业</option>
                                            {volist name="list['enterprise']" id="vo"}
                                            <option value="{$vo.id}">{$vo.name}</option>
                                            {/volist}
                                        </select>
                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label for="" class="col-sm-1 col-form-label">发布人</label>
                                    <div class="col-sm-8">
                                        <input type="text" name="uid" class="form-control" placeholder="发布人ID">
                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label for="" class="col-sm-1 col-form-label">招聘职位</label>
                                    <div class="col-sm-8">
                                        <input type="text" name="position" class="form-control" placeholder="招聘职位">
                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label class="col-sm-1 col-form-label">职位薪资</label>
                                    <div class="input-group col-sm-8">

                                        <select name="min_salary" id="min_salary" class="form-control" style="width: 50%">
                                            <option value="">请选择最低薪资</option>
                                            {for start="1" end="51"}
                                            <option value="{$i}">{$i}</option>
                                            {/for}
                                        </select>

                                        <select name="max_salary" id="max_salary" class="form-control" style="width: 50%">
                                            <option value="">请选择最高薪资</option>
                                            {for start="1" end="51"}
                                            <option value="{$i}">{$i}</option>
                                            {/for}
                                        </select>

                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label class="col-sm-1 col-form-label">工作经验</label>
                                    <div class="input-group col-sm-8">

                                        <select name="weid" id="weid" class="form-control">
                                            <option value="">请选择工作经验</option>
                                            {volist name="list['work']" id="vo"}
                                            <option value="{$vo.id}">{$vo.name}</option>
                                            {/volist}
                                        </select>

                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label class="col-sm-1 col-form-label">学历要求</label>
                                    <div class="input-group col-sm-8">

                                        <select name="reqid" id="reqid" class="form-control">
                                            <option value="">请选择学历要求</option>
                                            {volist name="list['education']" id="vo"}
                                            <option value="{$vo.id}">{$vo.name}</option>
                                            {/volist}
                                        </select>

                                    </div>
                                </div>

                                <div class="form-group row">
                                    <label class="col-sm-1 col-form-label">职位详情/福利</label>
                                    <div class="col-sm-8">
                                        <textarea class="custom_text form-control" placeholder="职位详情/福利" name="detail"></textarea>
                                    </div>
                                </div>

                                <button type="submit" class="btn btn-secondary">提交</button>

                            </form>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </main>

    {include file="public/footer"/}

</div>